<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::ConfigDef Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_config_def.html">ConfigDef</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_slic3r_1_1_config_def-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::ConfigDef Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_config_8hpp_source.html">Config.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Slic3r::ConfigDef:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_slic3r_1_1_config_def.png" usemap="#Slic3r::ConfigDef_map" alt=""/>
  <map id="Slic3r::ConfigDef_map" name="Slic3r::ConfigDef_map">
<area href="class_slic3r_1_1_c_l_i_config_def.html" alt="Slic3r::CLIConfigDef" shape="rect" coords="0,56,134,80"/>
<area href="class_slic3r_1_1_print_config_def.html" alt="Slic3r::PrintConfigDef" shape="rect" coords="144,56,278,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a59bfeb729bf8ec75a870dd89902b5f6b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_config_option_def.html">ConfigOptionDef</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_config_def.html#a59bfeb729bf8ec75a870dd89902b5f6b">add</a> (const <a class="el" href="namespace_slic3r.html#a5ebe1a416fa23898dceb3ba7906508b9">t_config_option_key</a> &amp;opt_key, <a class="el" href="namespace_slic3r.html#ad050dac2473d8202fb36cf563717a05d">ConfigOptionType</a> type)</td></tr>
<tr class="separator:a59bfeb729bf8ec75a870dd89902b5f6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a721258e380cbf0185aa1942bcd61c9a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_config_option_def.html">ConfigOptionDef</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_config_def.html#a721258e380cbf0185aa1942bcd61c9a7">add</a> (const <a class="el" href="namespace_slic3r.html#a5ebe1a416fa23898dceb3ba7906508b9">t_config_option_key</a> &amp;opt_key, const <a class="el" href="class_slic3r_1_1_config_option_def.html">ConfigOptionDef</a> &amp;def)</td></tr>
<tr class="separator:a721258e380cbf0185aa1942bcd61c9a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b0d4aff83c030dde01837614fa70c69"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_config_def.html#a8b0d4aff83c030dde01837614fa70c69">has</a> (const <a class="el" href="namespace_slic3r.html#a5ebe1a416fa23898dceb3ba7906508b9">t_config_option_key</a> &amp;opt_key) const</td></tr>
<tr class="separator:a8b0d4aff83c030dde01837614fa70c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c965f6ca20611f3afb93d4d51ac2b46"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_slic3r_1_1_config_option_def.html">ConfigOptionDef</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_config_def.html#a5c965f6ca20611f3afb93d4d51ac2b46">get</a> (const <a class="el" href="namespace_slic3r.html#a5ebe1a416fa23898dceb3ba7906508b9">t_config_option_key</a> &amp;opt_key) const</td></tr>
<tr class="separator:a5c965f6ca20611f3afb93d4d51ac2b46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a6e9c69aea8b4de691691d42f010e20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_config_def.html#a1a6e9c69aea8b4de691691d42f010e20">merge</a> (const <a class="el" href="class_slic3r_1_1_config_def.html">ConfigDef</a> &amp;other)</td></tr>
<tr class="separator:a1a6e9c69aea8b4de691691d42f010e20"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af8462e5e01cd6eb77b48881eff2226bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a53e9324b7324aee899d933419e6aed34">t_optiondef_map</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_config_def.html#af8462e5e01cd6eb77b48881eff2226bf">options</a></td></tr>
<tr class="separator:af8462e5e01cd6eb77b48881eff2226bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Definition of configuration values for the purpose of GUI presentation, editing, value mapping and config file handling. The configuration definition is static: It does not carry the actual configuration values, but it carries the defaults of the configuration values. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a59bfeb729bf8ec75a870dd89902b5f6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59bfeb729bf8ec75a870dd89902b5f6b">&#9670;&nbsp;</a></span>add() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_config_option_def.html">ConfigOptionDef</a> * Slic3r::ConfigDef::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a5ebe1a416fa23898dceb3ba7906508b9">t_config_option_key</a> &amp;&#160;</td>
          <td class="paramname"><em>opt_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#ad050dac2473d8202fb36cf563717a05d">ConfigOptionType</a>&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a721258e380cbf0185aa1942bcd61c9a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a721258e380cbf0185aa1942bcd61c9a7">&#9670;&nbsp;</a></span>add() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_config_option_def.html">ConfigOptionDef</a> * Slic3r::ConfigDef::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a5ebe1a416fa23898dceb3ba7906508b9">t_config_option_key</a> &amp;&#160;</td>
          <td class="paramname"><em>opt_key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_config_option_def.html">ConfigOptionDef</a> &amp;&#160;</td>
          <td class="paramname"><em>def</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5c965f6ca20611f3afb93d4d51ac2b46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c965f6ca20611f3afb93d4d51ac2b46">&#9670;&nbsp;</a></span>get()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_slic3r_1_1_config_option_def.html">ConfigOptionDef</a> * Slic3r::ConfigDef::get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a5ebe1a416fa23898dceb3ba7906508b9">t_config_option_key</a> &amp;&#160;</td>
          <td class="paramname"><em>opt_key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8b0d4aff83c030dde01837614fa70c69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b0d4aff83c030dde01837614fa70c69">&#9670;&nbsp;</a></span>has()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::ConfigDef::has </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a5ebe1a416fa23898dceb3ba7906508b9">t_config_option_key</a> &amp;&#160;</td>
          <td class="paramname"><em>opt_key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1a6e9c69aea8b4de691691d42f010e20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a6e9c69aea8b4de691691d42f010e20">&#9670;&nbsp;</a></span>merge()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::ConfigDef::merge </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_config_def.html">ConfigDef</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="af8462e5e01cd6eb77b48881eff2226bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8462e5e01cd6eb77b48881eff2226bf">&#9670;&nbsp;</a></span>options</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a53e9324b7324aee899d933419e6aed34">t_optiondef_map</a> Slic3r::ConfigDef::options</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_config_8hpp_source.html">Config.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_config_8cpp.html">Config.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
